package com.cloudm.technician.ui.modules.cloudm_box.plate_number

import com.cloudm.technician.data.model.DeviceDTOInfo
import com.cloudm.technician.data.model.ScanResultInfo
import com.cloudm.technician.ui.base.BasePresenter
import com.cloudm.technician.ui.base.BaseView

/**
 * 作者: wesley
 * 时间: 2017/12/27
 * 描述: 协议接口
 */
interface PlateNumberContract {

    interface View : BaseView {

        fun loadFailure(errorMsg: String)

        fun finishSelf()

        fun showLoadInfoEmpMsg()

        fun singleTitleBuildSuccess(list: ArrayList<ScanResultInfo>)

        fun OilTitleBuildSuccess(list: ArrayList<ScanResultInfo>)

        fun buildSingRowAndContentSuccess(listRow: ArrayList<ScanResultInfo>,
                                          listContent: ArrayList<ArrayList<String?>>)

        fun buildOilRowAndContentSuccess(listRow: ArrayList<ScanResultInfo>,
                                         listContent: ArrayList<ArrayList<String?>>)

        fun initHeader(info: DeviceDTOInfo?)
    }

    interface Presenter : BasePresenter {
        fun getDataString(license: String?)
    }
}